<%@ page contentType="text/html; charset=utf-8" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>미리보기</title>
<link href="/common/style_ts.css" rel="stylesheet" type="text/css" />
<link href="/common/test_ts.css" rel="stylesheet" type="text/css" />
</head>
<script>
function go_preview(){
	var frm = parent.document.mainform;
	
	document.getElementById("preview_cont").innerHTML = frm.cont.value.replace(/\r\n/gi,"<br>") ;
}
</script>

<style>
/*
#tQuestion {position:absolute; width:808px; height:410px; margin:80px 0 0 40px;; background:url(../img/bg_test_direction01.gif); overflow-x:hidden; overflow-y:auto;}
*/
#tQuestion table{width:808px; border-collapse:collapse; border-spacing:0;}
#tQuestion th{height:26px; font-size:14px; font-weight:bold; color:#FFF;padding-top:10px; background:url(../img/bg_test_question01.gif)}
#tQuestion td{height:110px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold; line-height:160%; color:#000000;padding:20px 40px 20px 20px;}
#tQuestion .al{text-align:left;padding-left:0px}
#tQuestion .ar{text-align:right;padding-right:10px}
</style>

<body onload="go_preview()">

            <div id="tQuestion">
              <table align="center" border=1>
                
                <tr>
                  <td valign="top" class="al" id="preview_cont" ></td>
                </tr>
              </table>
              
            </div>
            
         
</body>
</html>

